package cn.com.yang.egg.graphic2d;

import java.awt.EventQueue;
import java.awt.geom.Ellipse2D;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;

import javax.swing.JFrame;


public class Reang {
	
	public static void main(String[] args) {
//		Rectangle2D.Float floatRect = new Rectangle2D.Float(10.0F, 25.0F, 22.5F, 20.0F);
//		Rectangle2D.Double doubleRect = new Rectangle2D.Double(10.0, 25.0, 22.5, 20.0);
//		Point2D p=new Point2D.Double(10, 20);
//		Ellipse2D e = new Ellipse2D.Double(150,200,100,50);
		EventQueue.invokeLater(() ->
		{
			JFrame frame = new DrawFrame();
			frame.setTitle("DrawTest");
			frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
			frame.setVisible(true);
		});

	}
	
}
